package com.dyzx.hbb.modules.wms.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "货位区域信息更新")
public class WmsLocationAreaUVO {
    /**
     * 编号
     */
    @Schema(description = "编号")
    @JsonProperty("id")
    @NotNull(message = "编号不能为空")
    private Long id;

    /**
     * 货位名称
     */
    @Schema(description = "货位名称")
    @JsonProperty("name")
    @NotNull(message = "货位名称不能为空")
    private String name;

    /**
     * 货位编号
     */
    @Schema(description = "货位编号")
    @JsonProperty("location_id")
    @NotNull(message = "货位编号不能为空")
    private Long locationId;

    /**
     * 生成号(楼层+房号)
     */
    @Schema(description = "生成号(楼层+房号)")
    @JsonProperty("no")
    @NotNull(message = "生成号不能为空")
    private Integer no;

    /**
     * 楼层
     */
    @Schema(description = "楼层")
    @JsonProperty("floor")
    @NotNull(message = "楼层不能为空")
    private Integer floor;

    /**
     * 房号
     */
    @Schema(description = "房号")
    @JsonProperty("room_num")
    @NotNull(message = "房号不能为空")
    private Integer roomNum;

    /**
     * 状态 字典信息：sys_global_status
     */
    @Schema(description = "状态 字典信息：sys_global_status")
    @JsonProperty("status")
    @NotNull(message = "状态不能为空")
    private Integer status;
}